<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018-12-13
 * Time: 18:48
 */

namespace app\index\validate;


use think\Validate;

class Wresetpassword extends Validate
{
    protected $rule = [
        'u_id'                           => 'require',
        'password'       => 'confirm:confirm_password',
        'confirm_password'               => 'confirm:password',
    ];

    protected $message = [
        'u_id.require'                      => '用户ID不能为空',
        'password.confirm'                  => '两次输入密码不一致',
        'confirm_password.confirm'          => '两次输入密码不一致',
    ];

}